package com.zgkxzx.videosdk

object NativeApi {
    init {
        System.loadLibrary("videosdk")
    }

    /**
     * 测试
     */
    external fun hello()

    /**
     * 时长裁剪
     */
    external fun cut(srcPath: String, dstPath: String, startTime: Int, endTime: Int):Int

    /**
     * 画幅裁剪
     */
    external fun clip(srcPath: String, dstPath: String, dstWidth: Int, dstHeight: Int):Int

    /**
     * 画幅裁剪
     */
    external fun clip2(srcPath: String, dstPath: String, dstWidth: Int, dstHeight: Int):Int

    /**
     * 画幅裁剪
     */
    external fun clip3(srcPath: String, dstPath: String, dstWidth: Int, dstHeight: Int):Int
}